/**
 * @desc    模板信息
 * @author  刘贺[of2220]
 * @company qianmi.com
 * @Date    2017/2/10
 */
'use strict';
import * as mongoose from 'mongoose';
import TemplateInfoSchema from './template-info-schema';

import commonUtil from '@qianmi/x-site-common/util/common-util';
let envCode = commonUtil.getEnvCode();
let modelName = `${envCode}_TemplateInfo`;
//导出模
export default mongoose.model(modelName, TemplateInfoSchema);
